home *** CD-ROM | disk | FTP | other *** search
/ Shareware Grab Bag / Shareware Grab Bag.iso / 098 / dos3xp1.dqc / dos3x-p1.doc
Encoding:
Text File  |  1985-10-10  |  2.8 KB  |  63 lines

  1.  
  2. +==============================================================================+
  3. |                                           |
  4. |  Title:  An Undocumented Switch which will allow you to Expand the           |
  5. |       Size of the Default Environment Space for DOS 3.0 and 3.1           |
  6. |                                           |
  7. |  Author: Gee M. Wong                                   |
  8. |                                           |
  9. |  Date:   07/25/85                                   |
  10. |                                           |
  11. |                                           |
  12. |                                           |
  13. |  There is an undocumented switch which may be used in both PC and MS DOS     |
  14. |  version 3.x which will expand the default size of the environment.  This    |
  15. |  switch may be specified in your CONFIG.SYS using the following format:      |
  16. |                                           |
  17. |    SHELL = [d:][\path]\COMMAND.COM [d:][\path] /p/e:##               |
  18. |                                           |
  19. |  Where:                                       |
  20. |                                           |
  21. |    [d:]        is the drive where the command processor is           |
  22. |            located on.  If the command processor is located       |
  23. |            on the boot drive, this field may be omitted.           |
  24. |                                           |
  25. |    [\path]     is the path to the subdirectory which contains           |
  26. |            the command processor.    If the command processor       |
  27. |            is located on the root directory, this field may       |
  28. |            be omitted.                           |
  29. |                                           |
  30. |                                           |
  31. |    COMMAND.COM    is the name of the command processor.  This is           |
  32. |            the name of the command processor found in both        |
  33. |            PC and MS DOS version 3.x .                   |
  34. |                                           |
  35. |    /p        is a required switch to make sure that the new           |
  36. |            COMMAND.COM with the expanded environment remains      |
  37. |            resident in memory after DOS initialization.  If       |
  38. |            this switch is omitted then DOS will discard the       |
  39. |            command processor after initialization, and leave      |
  40. |            you hanging somewhere in the twilight zone.           |
  41. |                                           |
  42. |    /e:        is the undocummented switch which may be used to       |
  43. |            expand the size of the default environment.           |
  44. |                                           |
  45. |    ##        is a decimal integer between 11 and 63.  This number   |
  46. |            represents the number of paragraphs to be allocated    |
  47. |            for the environment.  A paragraph is 16 bytes of       |
  48. |            storage.                           |
  49. |                                           |
  50. |                                           |
  51. |  Once again, this feature is undocumented, and it is only available on PC    |
  52. |  and MS DOS versions 3.0 and 3.1 .   This feature may not be available on    |
  53. |  future versions of DOS.  So don't go crying to Microsoft if it does not     |
  54. |  appear on the next DOS release.                           |
  55. |                                           |
  56. |                                           |
  57. |  Please, let me know if you encounter any problems.                   |
  58. |                                           |
  59. |  Gee M. Wong                                       |
  60. |  You can reach me on the Invention Factory bulletin board (212)-431-1194.    |
  61. |                                           |
  62. +==============================================================================+
  63.